From 486c01a572f50c6db925ca74600ba5d4984752df Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 25 Dec 2023 00:46:05 -0800
Subject: feat(routes): route-specific head title

---
 src/routes/user/[user]/+page.svelte | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/routes/user/[user]/+page.svelte')

diff --git a/src/routes/user/[user]/+page.svelte b/src/routes/user/[user]/+page.svelte
index 9f55aa8b..b365127a 100644
--- a/src/routes/user/[user]/+page.svelte
+++ b/src/routes/user/[user]/+page.svelte
@@ -1,5 +1,6 @@
 <script lang="ts">
 	import { user, type User } from '$lib/AniList/user';
+	import HeadTitle from '$lib/HeadTitle.svelte';
 	import { estimatedDayReading } from '$lib/Media/Manga/time';
 	import { onMount } from 'svelte';
 
@@ -16,6 +17,8 @@
 	// 8.5827814569536423841e0
 </script>
 
+<HeadTitle route={`${data.username}'s Profile'`} path={`/user/${data.username}`} />
+
 {#if userData === null}
 	Could not load user profile for <a
 		href={`https://anilist.co/user/${data.username}`}
-- 
cgit v1.2.3

